<?php 
	//set_include_path("C:\\wamp2\\www\\");
	
	require_once 'OsebaModel.php';
	require_once 'projekt_st/spletne/entity/Oseba.php';
	
	//phpinfo();
	$pb = new PB();
	$pb->conn();
	
	echo $pb->update('oseba', array("telefon" => "027206776"), array("idoseba" => 1));
	
	//$pb->read('oseba','*',array("idoseba"=>1));
	//$pb->write('znanja', array("nazivZnanja" => "java", "tipZnanja" => 1));
	
	//$pb->update('oseba', array("telefon" => "051242734"), array("idoseba" => 1));
	//echo $pb->delete("znanja",1);
	//$model = new OsebaModel();
	//$oseba = $model->getOsebaById(1);
	//print_r($oseba);
	//echo $znanje[1]->getNazivZnanja();	
	//$prof = $model->getProfesorById(1);
	//echo "<br>profesor: ";
	//$ucenci = $prof->getUci();
	
	//$pb->login("naturalis", "admin");
	
	//$model->registerOseba(array("upIme" => "joza", "geslo" => "test"));
	
	
	//$osebaMod = new OsebaModel();
	
	//print_r($osebaMod->getProfesorji(1));
	//$jer = $osebaMod->savePovezave($povezava);
	//print_r($znanja);
	//echo "<br>profesorji: ".print_r($profiji);
?>